package com.ak.game.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * vip用户账变记录表(PnTally)表实体类
 *
 * @author makejava
 * @since 2024-05-17 19:49:27
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("pn_tally")
public class PnTally extends Model<PnTally> {
    //id
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //绑定账号
    private String binding;
    //用户名
    private String username;
    //订单类型
    private Integer tallyType;
    //交易金额
    private BigDecimal transfer;
    //上次余额
    private BigDecimal lastBalance;
    //当前余额
    private BigDecimal nowBalance;
    //创建时间
    private Date createTime;
    //操作人
    private String operator;
    //渠道
    private String ditch;
    //上级代理
    private String superior;
    //归属业务员
    private String affiliation;
    //归属主管
    private String chief;
    //币种
    private String currency;

}

